package com.foreverwin.jzymes.production.cutter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.Date;
import java.util.Date;

/**
 * 换刀记录表 Z_TOOL_BREAK_LOG
 * 
 * @author ervin
 * @date 2019-07-18
 */
public class ToolBreakLog
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 更换时间 */
	private Date chgTime;
	/** 机种 */
	private String machineType;
	/** 班别 */
	private String shift;
	/** 机台号 */
	private String resrce;
	/** 夹位 */
	private String cncType;
	/** 刀具型号 */
	private String toolType;
	/** 刀具名称 */
	private String toolName;
	/** 刀号 */
	private String toolLoc;
	/** 数量 */
	private Long qty;
	/** 标准寿命 */
	private Long maxUsage;
	/** 实际寿命 */
	private Long actualUsage;
	/** 换刀类型 */
	private String breakType;
	/** 断刀分析 */
	private String breakAnalysis;
	/** 品牌 */
	private String brand;
	/** 批次号 */
	private String lotNo;
	/** 生技员 */
	private String technicion;
	/** 备注 */
	private String remark;
	/** 状态 */
	private String status;
	/** 创建日期 */
	private Date createdDateTime;
	/** 更新日期 */
	private Date updatedDateTime;
	/** 创建人员 */
	private String createUserBo;
	/** 更新人员 */
	private String updateUserBo;
	/** 创建类型(A-系统自动创建；M-人工创建) */
	private String createType;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setChgTime(Date chgTime) 
	{
		this.chgTime = chgTime;
	}

	public Date getChgTime() 
	{
		return chgTime;
	}
	public void setMachineType(String machineType) 
	{
		this.machineType = machineType;
	}

	public String getMachineType() 
	{
		return machineType;
	}
	public void setShift(String shift) 
	{
		this.shift = shift;
	}

	public String getShift() 
	{
		return shift;
	}
	public void setResrce(String resrce) 
	{
		this.resrce = resrce;
	}

	public String getResrce() 
	{
		return resrce;
	}
	public void setCncType(String cncType) 
	{
		this.cncType = cncType;
	}

	public String getCncType() 
	{
		return cncType;
	}
	public void setToolType(String toolType) 
	{
		this.toolType = toolType;
	}

	public String getToolType() 
	{
		return toolType;
	}
	public void setToolName(String toolName) 
	{
		this.toolName = toolName;
	}

	public String getToolName() 
	{
		return toolName;
	}
	public void setToolLoc(String toolLoc) 
	{
		this.toolLoc = toolLoc;
	}

	public String getToolLoc() 
	{
		return toolLoc;
	}
	public void setQty(Long qty) 
	{
		this.qty = qty;
	}

	public Long getQty() 
	{
		return qty;
	}
	public void setMaxUsage(Long maxUsage) 
	{
		this.maxUsage = maxUsage;
	}

	public Long getMaxUsage() 
	{
		return maxUsage;
	}
	public void setActualUsage(Long actualUsage) 
	{
		this.actualUsage = actualUsage;
	}

	public Long getActualUsage() 
	{
		return actualUsage;
	}
	public void setBreakType(String breakType) 
	{
		this.breakType = breakType;
	}

	public String getBreakType() 
	{
		return breakType;
	}
	public void setBreakAnalysis(String breakAnalysis) 
	{
		this.breakAnalysis = breakAnalysis;
	}

	public String getBreakAnalysis() 
	{
		return breakAnalysis;
	}
	public void setBrand(String brand) 
	{
		this.brand = brand;
	}

	public String getBrand() 
	{
		return brand;
	}
	public void setLotNo(String lotNo) 
	{
		this.lotNo = lotNo;
	}

	public String getLotNo() 
	{
		return lotNo;
	}
	public void setTechnicion(String technicion) 
	{
		this.technicion = technicion;
	}

	public String getTechnicion() 
	{
		return technicion;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setCreatedDateTime(Date createdDateTime) 
	{
		this.createdDateTime = createdDateTime;
	}

	public Date getCreatedDateTime() 
	{
		return createdDateTime;
	}
	public void setUpdatedDateTime(Date updatedDateTime) 
	{
		this.updatedDateTime = updatedDateTime;
	}

	public Date getUpdatedDateTime() 
	{
		return updatedDateTime;
	}
	public void setCreateUserBo(String createUserBo) 
	{
		this.createUserBo = createUserBo;
	}

	public String getCreateUserBo() 
	{
		return createUserBo;
	}
	public void setUpdateUserBo(String updateUserBo) 
	{
		this.updateUserBo = updateUserBo;
	}

	public String getUpdateUserBo() 
	{
		return updateUserBo;
	}
	public void setCreateType(String createType) 
	{
		this.createType = createType;
	}

	public String getCreateType() 
	{
		return createType;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("chgTime", getChgTime())
            .append("machineType", getMachineType())
            .append("shift", getShift())
            .append("resrce", getResrce())
            .append("cncType", getCncType())
            .append("toolType", getToolType())
            .append("toolName", getToolName())
            .append("toolLoc", getToolLoc())
            .append("qty", getQty())
            .append("maxUsage", getMaxUsage())
            .append("actualUsage", getActualUsage())
            .append("breakType", getBreakType())
            .append("breakAnalysis", getBreakAnalysis())
            .append("brand", getBrand())
            .append("lotNo", getLotNo())
            .append("technicion", getTechnicion())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createdDateTime", getCreatedDateTime())
            .append("updatedDateTime", getUpdatedDateTime())
            .append("createUserBo", getCreateUserBo())
            .append("updateUserBo", getUpdateUserBo())
            .append("createType", getCreateType())
            .toString();
    }
}
